<?php foreach ($citisList as $c) { ?>
<div class="item">
      <div class="img_item">
            <?php
                  $image_thumb['src'] =  base64_encode(FULL_BASE_URL.$this->webroot.Configure::read('Countries.folder_upload_city').'/'.$c['City']['image']);
                  $image_thumb['width'] = '90';
                  $image_thumb['height'] = '90';
                  $image_thumb['x1'] = '0';
                  $image_thumb['y1'] = '0';
                  $image_thumb['x2'] = '179';
                  $image_thumb['y2'] = '179';
                  $image_thumb['tar_width'] = '179';
                  $image_thumb['tar_height'] = '179';            
                  if ($options['link']) {                          
                          echo $this->Html->link(
                              $this->Html->image('/uploader/uploader/view_image_crop/'.implode('/', $image_thumb),array('alt'=>$c['City']['name'])), 
                              array(
                                  'plugin' => $options['plugin'],
                                  'controller' => $options['controller'],
                                  'action' => $options['action'],
                                  'slug' => strtolower($c['City']['alias']),
                              ),
                              array('title'=>$c['City']['name'] ,'escape'=>false));
                  } else {
                          echo $this->Html->image('/admin/uploader/uploader/view_image_crop/'.implode('/', $image_thumb),array('alt'=>$c['City']['name']));
                  }            
            ?>
      </div>
      <div class="text_item">
            <h3><?php echo $c['City']['name'] ?></h3>
            <p class="img_view">
                  <?php 
                        echo $this->Html->image(strtolower($c['Country']['alias']).'.png',array('alt'=>$c['Country']['name']));
                        echo $this->Html->tag('span',$c['Country']['name']);
                  ?>
            </p>
            <p class="text_view"><?php echo empty($c['City']['hotel_count'])?0:$c['City']['hotel_count'] ?> hotels</p>
            <p class="text_item_new">
                  Latest booking : 8 hour ago .
            </p>
      </div>
      <div class="btn_next">
            <?php
                  if ($options['link']) {
                          echo $this->Html->link(
                              $this->Html->image('/images/btn_next.png',array('alt'=>'Next')), 
                              array(
                                  'plugin' => $options['plugin'],
                                  'controller' => $options['controller'],
                                  'action' => $options['action'],
                                  'slug' => strtolower($c['City']['alias']),
                              ),
                              array('title'=>'Next','escape'=>false));
                  } else {
                          echo $this->Html->image('/images/btn_next.png',array('alt'=>'Next'));
                  }            
            ?>
      </div>
      <div class="clear"></div>
</div>
<?php } ?>